package jdbc.entity;

import java.util.List;

import jdbc.CountryDao;
import jdbc.DepartmentsDao;
import jdbc.EmployeesDao;

public class Test {

	public static void main(String[] args) {
//		CountryDao cd = new CountryDao();
//		List<Countries> cts = cd.findAll();
//		for (Countries c : cts) {
//			System.out.println(c.toString());
//			
//		DepartmentsDao dd = new DepartmentsDao();
//		List<Departments> ccs = dd.findAll();
//		for (Departments d : ccs) {
//			System.out.println(d.toString());
//		CountryDao cd = new CountryDao();
		//cd.deleteSome("aa");
	//	List<Countries> cts=cd.findByName("I%");
		//for (Countries c: cts) {
			//System.out.println(c.toString());
		//	List<Countries> ccs = cd.findByregion_id(1);
			//for (Countries co : ccs) {
				//System.out.println(co.toString());
			
		
		EmployeesDao ed = new EmployeesDao();
		List<Employees> les  = ed.gtAvSalary();
		for (Employees e : les) {
			System.out.println(e);
		}
		}
	}
	


